package strev

func Reverse(s string) string {
	if s == "" {
		return ""
	}
	runes := []rune(s)
	len := len(runes)
	for i := 0; i < int(len/2); i++ {
		runes[i], runes[len-1-i] = runes[len-1-i], runes[i]
	}
	return string(runes)
}
